package com.luyun.frogpay.base.baseclass;

import lombok.Data;

/**
 * Created by 赵星宇 on 2018/1/26.
 */

@Data
public class BaseResponse<T> {

    private int code;

    private String msg;

    private T data;

    private String sign;

    private boolean isSuccess;

    public boolean isSuccess(){
        return this.code == 100;
    }
}
